<template>
  <tar-bar>
    <tar-bar-item path="/Services" >
      <!--dom 中使用路径需要用 ~ 来识别配置的别名-->
      <img slot="item-icon" src="@/assets/img/tabbar/shouye-weixuanzhong.svg" alt="">
      <img slot="item-icon-active" src="@/assets/img/tabbar/shouye-xuanzhong.svg" alt="">
      <div slot="item-text">物业</div>
    </tar-bar-item>
    <tar-bar-item path="/HomaePage">
      <img slot="item-icon" src="@/assets/img/tabbar/fenlei-weixuanzhong.svg" alt="">
      <img slot="item-icon-active" src="@/assets/img/tabbar/fenlei-xuanzhong (1).svg" alt="">
      <div slot="item-text">家居</div>
    </tar-bar-item>
    <tar-bar-item path="/community">
      <img slot="item-icon" src="@/assets/img/tabbar/gouwuche01.svg" alt="">
      <img slot="item-icon-active" src="@/assets/img/tabbar/gouwuche201.svg" alt="">
      <div slot="item-text">社区</div>
    </tar-bar-item>
    <tar-bar-item path="/persons">
      <img slot="item-icon" src="@/assets/img/tabbar/wodeweixuanzhong.svg" alt="">
      <img slot="item-icon-active" src="@/assets/img/tabbar/profilec.svg" alt="">
      <div slot="item-text">我的</div>
    </tar-bar-item>
  </tar-bar>
</template>

<script>
    import TarBar from '@/components/common/tabbar/Tabbar'
    import TarBarItem from '@/components/common/tabbar/TarBarItem'
    export default {
        name: "MainTarBar",
        components: {
            TarBar,TarBarItem
        }
    }
</script>

<style scoped>
</style>